<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page language="java" import="com.bluesky.dreamer.entity.FrontUser"%>
<%
String path = request.getContextPath();
FrontUser user=(FrontUser)session.getAttribute("loginUser");
if(user==null){
	out.print("<script language='javascript'>"); 
	out.print("alert('请先登陆!');"); 
	out.print("window.top.location='http://localhost/bluesky/'");
	out.print("</script>"); 
}
String chargename=""; //资费处理名称
String packagefee=request.getParameter("packagefee"); //套餐费
String packselectedId=request.getParameter("packselectedId"); //套餐选择的id
String numfee=request.getParameter("numfee"); //选号费
String phonenum=request.getParameter("phonenum"); //手机号
String belondcode=request.getParameter("belondcode"); //号码归属
String chargeType=request.getParameter("chargeType"); //资费处理方式
if("0".equals(chargeType)){
	chargename="套餐包外资费";
}else if("1".equals(chargeType)){
	chargename="全月套餐";
}else if("2".equals(chargeType)){
	chargename="套餐减半";
}
String packname=request.getParameter("packname"); //套餐名称
packname = java.net.URLDecoder.decode(packname,"utf-8"); 
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/moban.dwt.asp" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>澳海通网上营业厅</title>
<!-- InstanceEndEditable -->
<meta name="keywords" content="澳海通 精彩在沃" />
<meta name="description" content="澳海通 联通合作伙伴 邀你共同体验WCDMA 3G网络" />

<STYLE type=text/css>
BODY {
	MARGIN: 0px;
	FONT-SIZE: 12px; 
}
</STYLE>
<link type="text/css" href="../nresources/common/css/aht_style.css" rel="stylesheet" />
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.word1 {font-size: 12px;
	font-style: normal;
	line-height: 25px;
	color: #000000;
}
BODY {
	MARGIN: 0px;
	FONT-SIZE: 12px; 
}
.container, .container img{width:178px; height:231px;}
.container{border:1px solid #333;float:left;margin-left:10px;margin-top:10px}
.container img{border:0;}
-->
</style>
<link type="text/css" href="../nresources/common/css/default.css" rel="stylesheet" />
<link type="text/css" href="../nresources/common/css/agent.css" rel="stylesheet" />

<script src="<%=path %>/common/My97DatePicker/WdatePicker.js" type="text/javascript" language="javascript"></script>
<script type="text/javascript" language="javascript" src="../njs/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../njs/front/aht_order_dinner.js"></script>
<script type="text/javascript" charset="gb2312" language="javascript" src="../njs/front/order_confirm.js"></script>
</head>
<body>
<TABLE cellSpacing=0 cellPadding=0 width=950 align=center border=0>
  <!--header start -->
	<div class="header">
		<div class="top">
			<div class="main-part">
			<%if(user!=null){out.print("您好,<span class='font-bold font-orange'>"+user.getShowname()+"</span> 用户,<b>澳海通</b>欢迎你!");} %>
			 <a href="../index.jsp" class="icon-home">首页</a> 
			 <a href="#" class="icon-about-us">关于我们</a> 
			</div>
		</div>
		<div class="nav">
			<span class="adorn"></span> 
			<ul>
				<li class="on"><a href="../index.jsp">首页</a></li>
				<li><a href="#">Wo-3G专区</a></li>
				<li><a href="myorder.jsp">我的订单</a></li>
			</ul>
		</div>
		<div class="hot-panel"> 
			<span class="font-bold font-orange">数字靓号：</span> 
				<a href="#">520(我爱你)</a> 
				<a href="#">2013(爱你一生) </a> 
				<a href="#">8983(不见不散) </a> 
				<a href="#">1920(永久爱你) </a> 
		</div>
	</div>
	</TBODY>
    </TABLE>
    </TD>
  </TR></TBODY>
</TABLE>
<div id="main">
	<div style="width:205px;height:224px;float:left">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="pub-border">
      <tr>
        <td>
          <table width="100%" border="0" cellpadding="0" cellspacing="0" class="pub-border">
		<tr>
        <td>
          <!--side-col start -->
		<div class="side-col">
			<h1 class="common-caption-3"> 澳海通增值服务 </h1>
			<div class="common-content" style="height:529px;">
				<div class="menu">
					<h2><span></span>账户管理</h2>
					<ul>
						<li><a href="#">账户开户</a></li>
						<li><a href="#">账户止户</a></li>
						<li class="last"><a href="#">账户密码修改</a></li>
					</ul>
					<h2><span></span>帐务管理</h2>
					<ul>
						<li><a href="#">账户充值</a></li>
						<li><a href="#">账户余额查询</a></li>
						<li><a href="#">充值交易查询</a></li>
						<li class="last"><a href="#">消费交易查询</a></li>
					</ul>
				</div>
			</div>
		</div>
		<!--side-col end -->
        </td>
      </tr>
    </table>
        </td>
      </tr>
    </table>
  </div>		
	<div style="width:730px;float:right;">
    <TD width=730 valign="top"><!-- InstanceBeginEditable name="content" -->
      <table width="720" border="0" align="center" cellpadding="0" cellspacing="0" class="word">
        <tr>
          <td align="center">
          	<table width="575" height="179" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td valign="bottom"><img src="../nresources/common/images/aht/images/table_01.gif" width="575" height="21" /></td>
            </tr>
            <tr>
              <td height="38" background="images/table_02.gif"><div align="center"><img src="../nresources/common/images/aht/images/01_02.gif" width="550" height="38" /></div></td>
            </tr>
            <tr>
              <td background="../nresources/common/images/aht/images/table_02.gif">
              <form action="front!order_save.do" method="post" id="order_save_form_id">
                  <table width="550" height="330" border="0" align="center" cellpadding="0" cellspacing="0" class="word">
                    <tr>
                      <td width="130"><div align="left">你选择的号码：</div></td>
                      <td align="left" class="font-orange">
                        <%=phonenum %>
                        <input type="hidden" name="orderPhonenum" value="<%=phonenum %>">
                        <input type="hidden" name="belondcode" id="belondcodeId" value="<%=belondcode %>">
											</td>
                    </tr>
                    <tr>
                      <td><div align="left">选号费(元)：</div></td>
                      <td align="left" class="font-orange">
                      	<input type="hidden" name="orderPackfee" id="orderPackfeeId" value="<%=packagefee %>">
						<input type="hidden" name="orderNumfee" id="orderNumfeeId" value="<%=numfee %>">
						<input type="hidden" name="orderTotalfee" id="orderTotalfeeId">
						<%=numfee %>元
                      </td>
                    </tr>
                    <tr>
                      <td><div align="left">选择套餐：</div></td>
                      <td align="left" class="font-orange">
                      	<input type="hidden" name="orderPackname" value="<%=packname %>">
						<input type="hidden" name="orderPackId" value="<%=packselectedId %>">
                      	<%=packname %></td>
                    </tr>
                    <tr>
                      <td><div align="left" >首月资费方式：</div></td>
                      <td align="left" class="font-orange"><input type="hidden" name="orderChargename" value="<%=chargename %>"><%=chargename %></td>
                    </tr>
                    <tr>
                      <td><div align="left">客户姓名：</div></td>
                      <td align="left"><input type="text" name="custname" id="custId" class="text-style-3"  style="width:200px;"/>
                          <span class="font-orange">***</span></td>
                    </tr>
                    <tr>
                      <td><div align="left">证件类型：</div></td>
                      <td align="left">
                      	<select name="identityType">
                      		<option value="">请选择证件类型</option>
							<option value="0">二代身份证</option>
							<option value="1">驾驶证</option>
							<option value="2">营业执照</option>
							<option value="3">匿名</option>
						</select><span class="font-orange">***</span>
					  </td>
                    </tr>
                    <tr>
                      <td><div align="left">证件号码：</div></td>
                      <td align="left"><input type="text" name="identityNum" id="identityNumId" class="text-style-3"  style="width:200px;"/>
                          <span class="font-orange">***</span></td>
                    </tr>
                    <tr>
                      <td><div align="left">有效期：</div></td>
                      <td align="left"><input type="text" name="idvalidTime" id="idvalidTimeId" value="" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyyMMdd'})"/>
                          <span class="font-orange">***</span></td>
                    </tr>
                    <tr>
                      <td><div align="left">证件地址：</div></td>
                      <td align="left"><input type="text" name="idaddr" id="idaddrId" class="text-style-3"  style="width:200px;"/>
                          <span class="font-orange">***</span></td>
                    </tr>
                    <tr>
                      <td><div align="left">联系电话：</div></td>
                      <td align="left"><input type="text" name="contactNum" id="contactNumId" class="text-style-3"  style="width:200px;"/>
                          <span class="font-orange">***</span></td>
                    </tr>
                    <tr>
                      <td><div align="left">联系地址：</div></td>
                      <td align="left"><input type="text" name="contactAddr" id="contactAddrId" class="text-style-3"  style="width:200px;"/>
                          <span class="font-orange">***</span></td>
                    </tr>
                    <tr>
                      <td><div align="left">联系地址邮编：</div></td>
                      <td align="left"><input type="text" name="contactCode" class="text-style-3"  style="width:200px;"/></td>
                    </tr>
                    <tr>
                      <td><div align="left">选用本地政策：</div></td>
                      <td id="policy_init_id" align="left"></td>
                      <!--<td align="left">
                      	<select id="local_policy"  name="local_policy" onchange="setpvalue(this.options[this.options.selectedIndex].value)" >
                      		<option value="000">请选择政策</option>
                      		
                      		<option value="100-7">预存100免USIM卡费</option>
                      		
                      	</select><input type="hidden" id="h_policy" name="h_policy" value="" />
                        <span class="style31">*** 本地政策(预付送)</span></td>                  	
                      -->
                    </tr>
                    <tr>
                    	<td height="40" colspan="2" align="center" valign="bottom">
                    	<font size=4 style="color:red;font-weight:bold;">
                    	本次应收：<label id="totalfeeId" >****元</label></font>
                    	</td>
                  	</tr>
                    <tr>
                      <td colspan="2"><div align="center">
                          <table width="300" height="40" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <td height="40"><div align="center">
                                  <input type="button" name="Submit" value="正式预约" onclick="order_save()" />
                              </div></td>
                              <td><div align="center">
                                  <input name="Submit22" type="button" id="Submit2" value="取消预约" onclick="window.location.href='../index.jsp'" />
                              </div></td>
                            </tr>
                          </table>
                      </div></td>
                    </tr>
                    
                  </table>
              </form></td>
            </tr>
            <tr>
              <td valign="top"><img src="../nresources/common/images/aht/images/table_03.gif" width="575" height="7" /></td>
            </tr>
          </table></td>
        </tr>
      </table>
	</div>
</div>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" class="word">
  <tbody>
    <tr>
      <td height="5">
	  </td>
    </tr>
  </tbody>
</table>
<TABLE cellSpacing=0 cellPadding=0 width=950 align=center border=0>
  <TBODY>
    <TR>
      <TD width=10><IMG height=28 src="../nresources/common/images/aht/main_menu_04.gif" 
          width=10></TD>
      <TD class=12white align=center 
            background=../nresources/common/images/aht/main_menu_06.gif><A class=white2 
            href="about.asp" 
            target=_blank>关于我们</A> | <A class=white2 
            href="adserver.asp" target=_blank>广告服务</A> | <A class=white2 href="cooperate.asp" 
            target=_blank>合作洽谈</A> | <A class=white2 
            href="help.asp" target=_blank>帮助中心</A> | <A class=white2 href="sitemap.asp" 
            target=_blank>网站地图</A> | <A class=white2 
            href="feedback.asp" target=_blank>意见反馈</A> | <A class=white2 href="contact.asp" 
            target=_blank>联系我们 </A> | <A class=white2 href="web.asp" 
            target=_blank>网站建设 </A></TD>
      <TD width=10><IMG height=28 src="../nresources/common/images/aht/main_menu_05.gif" 
          width=10></TD>
    </TR>
  </TBODY>
</TABLE>

<TABLE cellSpacing=0 cellPadding=0 width=950 align=center border=0>
  <TBODY>
    <TR>
      <TD align=center height=54>版权所有 (C) 2010-2012 <a href="http://www.186yc.com">澳海通</a>(<a href="http://www.186yc.com">www.186yc.com</a>)</TD>
    </TR>
  </TBODY>
</TABLE>
<table width="950" height="30" border="0" align="center" cellpadding="0" cellspacing="0" class="word">
  <tr>
    <td align="center"><IMG height=32 src="../nresources/common/images/aht/icon_gs.gif" width=26>
    	<a href="http://www.gzjd.gov.cn/newgzjd/baojing/110.jsp?catid=318" target="_blank"><img src="../nresources/common/images/aht/816587.gif" width="36" height="43" border="0" /></a>
    </td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>
